package edu.metrostate.capstonediner;

public abstract class GamePart implements DrawablePart {
	protected float x;
	protected float y;
	protected int layer;
	protected float width;
	protected float height;
	protected int hitPoints;
	protected int texture;
	protected int pointValue;
	
	@Override
	public float getX() {
		return x;
	}
	
	public void setX(float newX) {
		x = newX;
	}

	@Override
	public float getY() {
		return y;
	}
	
	public void setY(float newY) {
		y = newY;
	}
	
	public int getLayer() {
		return layer;
	}
	
	public void setLayer(int newLayer) {
		layer = newLayer;
	}

	@Override
	public float getWidth() {
		return width;
	}
	
	public void setWidth(float newWidth) {
		width = newWidth;
	}

	@Override
	public float getHeight() {
		return height;
	}
	
	public void setHeight(float newHeight) {
		height = newHeight;
	}
	
	public int getHitPoints() {
		return hitPoints;
	}
	
	public void setHitPoints(int newHitPoints) {
		hitPoints = newHitPoints;
	}
	
	public int getPointValue() {
		return pointValue;
	}
	
	public void setPointValue(int newPointValue) {
		pointValue = newPointValue;
	}
	
	@Override
	public int getTexture() {
		return texture;
	}
	
	public void setTexture(int textureID) {
		texture = textureID;
	}
	
	public abstract void collisionEffect(GamePart collided, Game game);

}
